package cn.wolfcode.service;

import cn.wolfcode.domain.Employee;
import cn.wolfcode.query.EmployeeQuery;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 * 员工业务层接口
 * 1>自定义接口继承IService
 * 2>明确指定要操作实体对象: Employee
 *
 **/
public interface IEmployeeService extends IService<Employee> {
   //自定义业务方法
    Employee  queryByQo();

    /**
     * 分页查询
     * @param qo
     * @return
     */
    Page<Employee> queryPage(EmployeeQuery qo);
}
